package com.hsh.annotation02;

public class Action {

	@ServiceAno(service = "com.hsh.annotation02.MySqlService")
	private Service service1;
	
	@ServiceAno(service = "com.hsh.annotation02.OracleService")
	private Service service2;
	
	public void service(){
		service1.service();
		service2.service();
	}

	public Service getService1() {
		return service1;
	}

	public void setService1(Service service1) {
		this.service1 = service1;
	}

	public Service getService2() {
		return service2;
	}

	public void setService2(Service service2) {
		this.service2 = service2;
	}
	
}
